import request from "@/utils/request";

export default {
  // 地图加载坐标，统计告警
  gridCoordinate(data) {
    const url = "main/map/gridCoordinate";
    return request.get(url, data);
  },
  // 点击地图坐标显示设备列表
  gridCoordinateDetail(data) {
    const url = "main/map/gridCoordinateDetail";
    return request.get(url, data);
  },
  // 点击设备显示关联摄像机、预警事件、基本信息
  equipmentMapDetail(data) {
    const url = "main/map/equipmentMapDetail";
    return request.get(url, data);
  },
  // 查询告警列表
  getAlertList(data) {
    const url = 'alert/equipmentCollectAlert/list'
    return request.get(url, data)
  },
  getEquipmentCoordinate(data) {
    const url = 'main/map/equipmentCoordinate'
    return request.get(url, data)
  }
};
